package edu.spec.rxz.week04.class1;

public class Prawn{
    private String name;
    public String getName(){
        return this.name;
    }
    public Prawn(String name){
        this.name=name;
    }
    public eat(Sheel s){
        System.out.println(this.name+"eat"+s.get.Name());
    }
    public eat(Sheel s){
        System.out.println(this.name+"eat"+s);

    }
    public static void main(String[] args){
        Sheel s=new Sheel("shanbei");
        Prawn p=new Prawn("dalongxia");
        s.eat("haichad");
        p.eat("haidai");
        p.eat("s");
    }
}
